<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            width: 600px;
            height: 600px;
            margin: 0 auto;
        }
        .x{
            width: 600px;
            height: 600px;
        }
        .x .xd1{
            background-color: rgb(0, 72, 255);
            width: 200px;
            height: 200px;
        }
        .x .xd2{
            background-color: rgb(29, 180, 210);
            width: 200px;
            height: 200px;
        }
        .x .xd3{
            background-color: rgb(91, 12, 151);
            width: 200px;
            height: 200px;
        }
    </style>
</head>
<body>
    <table class="x">
        <tr class="xd1">
            <td>1</td>
            <td>2</td>
            <td>3</td>
        </tr>
        <tr class="xd2">
            <td>4</td>
            <td>5</td>
            <td>6</td> 
            </tr>
            <tr class="xd3">
            <td>7</td>
            <td>8</td>
            <td>9</td>
            </tr>
    </table>
</body>
</html>